#pragma once
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<assert.h>

void Swap(int* a, int* b);
void AdjustUp(int* a, int child);
void AdjustDown(int* a, size_t size, int parent);
void HeapSort(int* a, size_t size);